package com.gongj;

import com.gongj.dto.A;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext context =
				new AnnotationConfigApplicationContext(CircularApp.class);

		A a = (A)context.getBean("a");
		a.test();
	}
}
